<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View</title>
<script type="text/javascript" src="./js/Common.js" ></script>
<script type="text/javascript" language="javascript">
// <![CDATA[
Opacity(H$("inner"),0);	
window.parent.fadeIn();

function Window_Load(){
}

function Picture_Loaded(){
	Picture_Show();
	ImgAuto(H$("inner"),document.documentElement.clientWidth,document.documentElement.clientHeight);
}

pImgAlpha=0;
function Picture_Show(){
	pImgAlpha+=20;
	Opacity(H$("inner"),pImgAlpha);
	Opacity(H$("Loading"),100-pImgAlpha);
	if(pImgAlpha<100){
		H$("inner").style.visibility="";
		window.setTimeout(Picture_Show,100);
	}
	else
		H$("Loading").style.visibility="hidden";
}

// ]]>
</script>
</head>

<body bgcolor="transparent" style="background:none;" onload="Window_Load();">
   <table height="100%" width="100%" border="0">
        <tbody>
            <tr>
                <td align="center" valign="middle">
					<script type="text/javascript" language="javascript">
						// <![CDATA[
						document.write("<a href='<%=request.querystring("src")%>' target='_blank' style='text-decoration:none;'><img id='inner' src='<%=request.querystring("src")%>' style='visibility:hidden;' onload='Picture_Loaded();' onerror='this.src=\"<%=Application(Session("Server") & "BadImage.png")%>\";' /></a>")
						// ]]>
					</script>
                </td>
            </tr>
        </tbody>
    </table>
    <div id="Loading" style="position:absolute; z-index=-1; top:50%; left:50%; width:32px; height:32px; margin-left:-16px; margin-top:-16px"><img src="<%=Application(Session("Server") & "loading.gif")%>"></div>
</body>